Timm Bäder [Wed, 27 Dec 2017 22:15:07 +0000 (23:15 +0100)]
gl renderer: Insert render target op in render_texture path
Timm Bäder [Mon, 25 Dec 2017 22:17:08 +0000 (23:17 +0100)]
testoutsetshadowdrawing: Add adwaita CSD window test case
Timm Bäder [Mon, 25 Dec 2017 11:56:21 +0000 (12:56 +0100)]
testsuite: Add selected gl renderer test node files
Timm Bäder [Sun, 24 Dec 2017 15:27:54 +0000 (16:27 +0100)]
testheaderbar: Fix custom CSS
Matthias Clasen [Thu, 28 Dec 2017 13:39:29 +0000 (08:39 -0500)]
Adwaita: Avoid expander<>combobox interference
Putting a combobox in an expander was causing the combo arrow
to go sideways. Increase the specificity with which we address
the expander arrow to avoid that.
Matthias Clasen [Wed, 27 Dec 2017 22:21:30 +0000 (17:21 -0500)]
fontchooser: Add global keynav
Starting to type should focus the search entry and start
a search.
Matthias Clasen [Wed, 27 Dec 2017 12:08:17 +0000 (07:08 -0500)]
Try again to make the a11y tests pass
Matthias Clasen [Wed, 27 Dec 2017 04:32:49 +0000 (23:32 -0500)]
Add an unrealize function to GtkLabel
We need to drpo the primary clipboard when the label
is getting unrealized while holding it. This fixes
a crash in the accessibility-dump test.
Matthias Clasen [Wed, 27 Dec 2017 04:16:18 +0000 (23:16 -0500)]
Fix the a11y tests
Matthias Clasen [Wed, 27 Dec 2017 04:15:30 +0000 (23:15 -0500)]
Fix the textbuffer test
The test was assuming that gtk_text_buffer_paste_clipboard is
synchronous, which is no longer the case.
Matthias Clasen [Wed, 27 Dec 2017 04:12:37 +0000 (23:12 -0500)]
Simplify ui files
Run gtk3-builder-tool simplify over all our ui files.
Matthias Clasen [Tue, 26 Dec 2017 19:40:59 +0000 (14:40 -0500)]
Update NEWS
Matthias Clasen [Wed, 27 Dec 2017 01:10:34 +0000 (20:10 -0500)]
Fix objects-finalize test
This test needs similar fixes to the notify test to
pass a display to GDK objects when instantiating them.
Matthias Clasen [Wed, 27 Dec 2017 01:05:07 +0000 (20:05 -0500)]
Fix notify test
We need to pass a display when creating more GDK objects now.
Matthias Clasen [Wed, 27 Dec 2017 01:04:07 +0000 (20:04 -0500)]
Avoid excess notification for GdkEventControllerScroll::flags
We have a test that checks this, and it is the right thing to do.
Matthias Clasen [Wed, 27 Dec 2017 01:03:19 +0000 (20:03 -0500)]
Avoid excess notification for GdkCellRendererPixbuf::icon-size
We have a test that checks this, and it is right thing to do.
Matthias Clasen [Wed, 27 Dec 2017 00:18:45 +0000 (19:18 -0500)]
Remove a duplicate doc comment
g-ir-scanner complains about this.
Matthias Clasen [Tue, 26 Dec 2017 19:10:54 +0000 (14:10 -0500)]
gdk: Cosmetic rewording of draw context docs
Avoid draw context <> drawing context confusion,
as far as possible.
Matthias Clasen [Tue, 26 Dec 2017 19:06:52 +0000 (14:06 -0500)]
gdk: Slight doc rearrangement
Mainly, add GdkDrawContext to the docs.
Matthias Clasen [Tue, 26 Dec 2017 19:06:17 +0000 (14:06 -0500)]
window: Remove GtkButton reference from docs
GtkButton doesn't have its own window anymore, so it is
a misleading example here.
Matthias Clasen [Tue, 26 Dec 2017 19:05:00 +0000 (14:05 -0500)]
display: Cosmetic doc changes
Matthias Clasen [Tue, 26 Dec 2017 19:04:33 +0000 (14:04 -0500)]
cursor docs: Point to gtk_widget_set_cursor
This is the right API to use for applications.
Matthias Clasen [Tue, 26 Dec 2017 19:04:12 +0000 (14:04 -0500)]
Add documentation for content (de)serializers
Matthias Clasen [Tue, 26 Dec 2017 19:03:30 +0000 (14:03 -0500)]
Document GdkClipboard::changed
Matthias Clasen [Tue, 26 Dec 2017 19:39:24 +0000 (14:39 -0500)]
Document more structs
Matthias Clasen [Tue, 26 Dec 2017 17:53:20 +0000 (12:53 -0500)]
Document GDK_DISPLAY_XDISPLAY
Matthias Clasen [Tue, 26 Dec 2017 17:46:46 +0000 (12:46 -0500)]
gdk: Document GdkVulkanContext
New API needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 16:47:15 +0000 (11:47 -0500)]
gdk: Move GdkWindowState enum around
We no longer have an event for this, so move the
enum to gdkwindow.h, where it belongs.
Matthias Clasen [Tue, 26 Dec 2017 16:34:18 +0000 (11:34 -0500)]
More documentation additions
Matthias Clasen [Tue, 26 Dec 2017 16:30:37 +0000 (11:30 -0500)]
Drop gratitious use of GdkPoint
This is the only use of this undocumented struct,
and it does not make this code any better. Just drop it.
Matthias Clasen [Tue, 26 Dec 2017 16:19:24 +0000 (11:19 -0500)]
Some GdkMonitor documentation additions
Document the ::invalidated signal.
Matthias Clasen [Tue, 26 Dec 2017 16:01:38 +0000 (11:01 -0500)]
Remove leftover API from headers
gdk_window_mark_paint_from_clip was removed in
bddfd7bb41cebd9b4e8ea418ce4d8e1f11822e81
Matthias Clasen [Tue, 26 Dec 2017 15:59:38 +0000 (10:59 -0500)]
Document new event getters
New API needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 15:30:50 +0000 (10:30 -0500)]
Try to make the docs build more quiet
Not sure if this really makes a difference.
Matthias Clasen [Tue, 26 Dec 2017 15:22:21 +0000 (10:22 -0500)]
gdk: Remove the event structs from the documentation
No longer public api.
Matthias Clasen [Tue, 26 Dec 2017 15:21:45 +0000 (10:21 -0500)]
Document gdk_display_get_setting
New api needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 15:05:09 +0000 (10:05 -0500)]
Remove leftover gdk_event_request_motions from headers
The implementation of this function was removed in
44cb3ccfa15d6f840b34f916d733ea393a1620a2.
Matthias Clasen [Tue, 26 Dec 2017 14:44:52 +0000 (09:44 -0500)]
Drop gsk_renderer_get/set_viewport from the docs
These no longer exist.
Matthias Clasen [Tue, 26 Dec 2017 14:30:44 +0000 (09:30 -0500)]
gdk: Document GdkDisplay::setting-changed
New api needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 14:30:07 +0000 (09:30 -0500)]
Some migration guide revisions
Add a few things, reword some others.
Matthias Clasen [Tue, 26 Dec 2017 14:01:57 +0000 (09:01 -0500)]
docs: Add new headerbar api
Some functions have been renamed here.
Matthias Clasen [Tue, 26 Dec 2017 13:39:29 +0000 (08:39 -0500)]
Add GtkIconSize back to the docs
And document how it works now.
Matthias Clasen [Mon, 25 Dec 2017 21:40:47 +0000 (16:40 -0500)]
gdk: Reshuffle docs slightly
Deemphasize GdkPixbuf in the docs.
Ting-Wei Lan [Sun, 24 Dec 2017 16:14:05 +0000 (00:14 +0800)]
docs: Fix the build of gdk4 documentation
https://bugzilla.gnome.org/show_bug.cgi?id=791926
Matthias Clasen [Mon, 25 Dec 2017 16:27:16 +0000 (11:27 -0500)]
check button: Fix inconsistent state
This has been broken since the inconsistent state
was moved here in
2aea8dfee97b.
Ting-Wei Lan [Sun, 24 Dec 2017 16:24:04 +0000 (00:24 +0800)]
gdk/broadway/toarray.pl: Don't hard-code the path of perl
https://bugzilla.gnome.org/show_bug.cgi?id=791927
Matthias Clasen [Sat, 23 Dec 2017 03:59:00 +0000 (22:59 -0500)]
Fix the docs build
We no longer have GtkClipboard.
Matthias Clasen [Sat, 23 Dec 2017 03:56:35 +0000 (22:56 -0500)]
css: Document font-variant and subproperties
Add the CSS font level 3 properties that we support now
to the docs.
Emmanuele Bassi [Thu, 21 Dec 2017 19:13:28 +0000 (19:13 +0000)]
Update annotations for GdkDisplay
GdkDisplay is missing various annotations, and the introspection scanner
is complaining about it.
Emmanuele Bassi [Thu, 21 Dec 2017 19:07:02 +0000 (19:07 +0000)]
Update annotations for GdkEvent API
The GdkEvent API is missing some gtk-doc stanzas, as well as some
introspection annotations.
Emmanuele Bassi [Thu, 21 Dec 2017 19:00:28 +0000 (19:00 +0000)]
docs: Add missing signal parameter
The `flags` parameter is missing, and the introspection scanner is
complaining about it.
Emmanuele Bassi [Thu, 21 Dec 2017 18:57:25 +0000 (18:57 +0000)]
build: Ensure we introspect the print operation sources
The documentation and annotations for some of the print API is defined
in platform-specific source files, so we need to ensure we're passing
those files to the introspection scanner in order to avoid warnings, and
to get the appropriate introspected API.
Emmanuele Bassi [Thu, 21 Dec 2017 18:49:25 +0000 (18:49 +0000)]
Annotate gdk_x11_display_get_screen()
We're missing the gtk-doc stanza, as well as the transfer annotation for
the returned pointer.
Emmanuele Bassi [Thu, 21 Dec 2017 18:46:08 +0000 (18:46 +0000)]
Remove unnecessary introspection annotation
Transfer annotations do not apply to integral types.
Emmanuele Bassi [Thu, 21 Dec 2017 18:42:26 +0000 (18:42 +0000)]
broadway: Use correct type in assignment
The new type propagation for g_object_ref() is raising a compiler
warning for an assignment with a different type.
Timm Bäder [Thu, 21 Dec 2017 17:33:41 +0000 (18:33 +0100)]
widgetbowl: Add blurred box shadow demo
Timm Bäder [Thu, 21 Dec 2017 17:09:32 +0000 (18:09 +0100)]
gl renderer: try doing outset box shadows
Still fall back in cases we can't handle that way.
Timm Bäder [Thu, 21 Dec 2017 16:57:16 +0000 (17:57 +0100)]
tests: Add outset shadow drawing test
Timm Bäder [Tue, 19 Dec 2017 21:35:55 +0000 (22:35 +0100)]
gl renderer: Remove unused vertex shader
Timm Bäder [Tue, 19 Dec 2017 15:00:43 +0000 (16:00 +0100)]
gl renderer: Don't crash if the first op is an opacity one
Timm Bäder [Tue, 19 Dec 2017 11:45:32 +0000 (12:45 +0100)]
gl renderer: Force cross-fade nodes offscreen
Timm Bäder [Sat, 16 Dec 2017 09:02:03 +0000 (10:02 +0100)]
gl renderer: Use one function per op type to apply data
Timm Bäder [Sat, 16 Dec 2017 01:37:03 +0000 (02:37 +0100)]
gl renderer: Don't leak gl resources
Timm Bäder [Mon, 11 Dec 2017 09:02:13 +0000 (10:02 +0100)]
showrendernode: Show at least the root node bounds
Timm Bäder [Mon, 11 Dec 2017 07:22:54 +0000 (08:22 +0100)]
gl renderer: Fix indentation mishap
Timm Bäder [Mon, 11 Dec 2017 07:22:28 +0000 (08:22 +0100)]
gl renderer: Implement cross fade nodes
Timm Bäder [Sun, 10 Dec 2017 21:27:21 +0000 (22:27 +0100)]
gl renderer: Fix linear gradient shader color calculation
This fixes both the wrong headerbar color and the broken border color in
of the circular button in the widget-factory.
Timm Bäder [Sat, 9 Dec 2017 17:31:28 +0000 (18:31 +0100)]
gl renderer: Only take glyph texture alpha into account
This way, we can use the very same coloring program to draw text shadows
of fonts with colored glyphs.
Timm Bäder [Sat, 9 Dec 2017 17:26:29 +0000 (18:26 +0100)]
gl renderer: Fix shadow nodes if the child is a container
Timm Bäder [Sat, 9 Dec 2017 15:21:19 +0000 (16:21 +0100)]
gl renderer: Move declarations to the beginning of the block
Timm Bäder [Sat, 9 Dec 2017 13:32:24 +0000 (14:32 +0100)]
gl renderer: Fix use of uninitialized values
Timm Bäder [Sat, 9 Dec 2017 13:31:10 +0000 (14:31 +0100)]
gl renderer: Ensure texture sizes arent 0
We already ceil() the given float texture sizes here, so if they are
valid, the result should definitely be > 0. Textures with size 0 can't
be properly used, especially not as render targets, where they will
trigger an assertion failure later in a glCheckFramebuffer call.
Timm Bäder [Sat, 9 Dec 2017 08:41:52 +0000 (09:41 +0100)]
gl renderer: Fix inset and outset shadows in hidpi
Timm Bäder [Sat, 9 Dec 2017 08:25:47 +0000 (09:25 +0100)]
gl renderer: Fix cairo node surface size in hidpi
Timm Bäder [Sat, 9 Dec 2017 07:59:51 +0000 (08:59 +0100)]
gl renderer: Fix rounded clips in hidpi
Timm Bäder [Sat, 9 Dec 2017 07:57:13 +0000 (08:57 +0100)]
gl renderer: Handle borders in hidpi better
Timm Bäder [Fri, 8 Dec 2017 21:19:52 +0000 (22:19 +0100)]
gl renderer: Default to 0px clip and border radius
Finally fix the division by 0 in the clip code.
Timm Bäder [Fri, 8 Dec 2017 19:43:47 +0000 (20:43 +0100)]
gl renderer: Ignore render ops before we have a valid program
Timm Bäder [Fri, 8 Dec 2017 16:01:16 +0000 (17:01 +0100)]
gl renderer: Try to fix border rendering
Timm Bäder [Fri, 8 Dec 2017 12:12:43 +0000 (13:12 +0100)]
gl renderer: Use one function per node-type
So a profiler can actually tell me what's slow and not just point at
_add_render_ops in all cases.
Timm Bäder [Thu, 7 Dec 2017 16:30:02 +0000 (17:30 +0100)]
gl renderer: Don't render opacity nodes offscreen
We already drag a u_alpha uniform around in every shader, so use that
one.
Timm Bäder [Wed, 6 Dec 2017 18:22:24 +0000 (19:22 +0100)]
tests: Add border drawing test
Timm Bäder [Wed, 6 Dec 2017 16:24:58 +0000 (17:24 +0100)]
gl renderer: Fix shadow shader
We need to take the alpha of the shadow color into account as well.
Timm Bäder [Wed, 6 Dec 2017 15:45:43 +0000 (16:45 +0100)]
gl renderer: Ignore shadow color matrix nodes...
... if the color matrix nodes don't touch the child alpha.
Timm Bäder [Wed, 6 Dec 2017 15:07:18 +0000 (16:07 +0100)]
gl renderer: Add a helper function
We'll use this for the common case of a color matrix node inside a
shadow node.
Timm Bäder [Tue, 5 Dec 2017 17:05:12 +0000 (18:05 +0100)]
gl renderer: Don't zero initialize render ops GArray
Timm Bäder [Tue, 5 Dec 2017 16:49:25 +0000 (17:49 +0100)]
gl renderer: Avoid crashing tooltips
Timm Bäder [Tue, 5 Dec 2017 12:46:29 +0000 (13:46 +0100)]
gl renderer: Sort border sides by color
Timm Bäder [Tue, 5 Dec 2017 07:38:42 +0000 (08:38 +0100)]
gl renderer: Keep track of border program state
Timm Bäder [Tue, 5 Dec 2017 07:01:10 +0000 (08:01 +0100)]
gl renderer: Avoid using a new modelview for shadow nodes
We can just move the vertex data directly.
Timm Bäder [Sun, 3 Dec 2017 21:14:33 +0000 (22:14 +0100)]
gl renderer: Default to GL_LINEAR scaling filters
Timm Bäder [Sun, 3 Dec 2017 19:16:01 +0000 (20:16 +0100)]
gl renderer: Remove superfluous modelview matrix changes
Timm Bäder [Sun, 3 Dec 2017 18:47:20 +0000 (19:47 +0100)]
gl renderer: Remove unused struct member
Timm Bäder [Sun, 3 Dec 2017 18:15:33 +0000 (19:15 +0100)]
gl renderer: Keep track of color matrix op state
Timm Bäder [Sun, 3 Dec 2017 15:58:01 +0000 (16:58 +0100)]
gl renderer: Avoid consecutive opacity ops
Timm Bäder [Sun, 3 Dec 2017 15:54:34 +0000 (16:54 +0100)]
gl renderer: Define debug structs inline
Timm Bäder [Sun, 3 Dec 2017 08:04:07 +0000 (09:04 +0100)]
gl renderer: Add more detailed render op output
Timm Bäder [Sat, 2 Dec 2017 10:17:46 +0000 (11:17 +0100)]
gl renderer: Only draw blurred shadow nodes once
Timm Bäder [Sat, 2 Dec 2017 10:02:31 +0000 (11:02 +0100)]
gl renderer: Remove consecutive clip ops
Timm Bäder [Fri, 1 Dec 2017 12:56:56 +0000 (13:56 +0100)]
gl renderer: Rename a macro